package com.melodyframe.tableland.engine.process.command;

import com.melodyframe.tableland.engine.model.Player;

/**
 * <h1>指令抽象模型</h1>
 * <p>
 * 提供了指令的基础实现
 * </p>
 * 
 * @author ettear
 * 
 */
public abstract class AbstractCommand implements Command {

	/**
	 * 唯一标识
	 */
	private String	key;
	/**
	 * 玩家
	 */
	private Player	player;

	@Override
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	@Override
	public Player getPlayer() {
		return player;
	}

	public void setPlayer(Player player) {
		this.player = player;
	}

}
